home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
puppy_red.swf
/
scripts
/
DefineButton2_140
/
BUTTONCONDACTION on(release, keyPress Enter).as
Wrap
Text File
|
2008-03-11
|
668b
|
33 lines
on(release, keyPress "<Enter>"){
if(!click)
{
item1 = uitem1;
item2 = uitem2;
item3 = uitem3;
item4 = uitem4;
if(item2 == 1)
{
shoot = 3;
}
stg = 1;
_global.dead = 0;
click = 1;
i = 0;
(snd_startBtn = new Sound()).attachSound("click");
snd_startBtn.start();
_root.onEnterFrame = function()
{
trace(i);
i++;
if(i == 6)
{
itemOb.userTemp = 1;
delete i;
delete click;
_root.onEnterFrame = null;
gotoAndStop(9);
}
};
}
}